export const txtEllipsis = (str, maxLength=10) => {
  if (str?.length > maxLength) {
    return str.substr(0, maxLength) + "....";
  } else {
    return str;
  }
};
